package com.yoga.manager.app;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.ClassBO;
import com.yoga.common.bo.ClassTableBO;
import com.yoga.common.page.PageBO;
import com.yoga.common.qto.ClassTableQTO;

import java.util.List;

/**
 * Created by hdx on 2020/9/27.
 */
public interface AppClassTableManager {

    /**
     * 日课表查询
     * @param classTableQTO
     * @return
     * @throws AppException
     */
    PageBO<ClassTableBO> findForPage(ClassTableQTO classTableQTO) throws AppException;

    /**
     * 周课表查询
     * @param classTableQTO
     * @return
     * @throws AppException
     */
    List<ClassBO> findWeekClassTable(ClassTableQTO classTableQTO) throws AppException;

    /**
     * 按id查询课表内容
     * @param classTableIds
     * @return
     * @throws AppException
     */
    List<ClassTableBO> findByIds(List<Long> classTableIds) throws AppException;
}
